import cache.PeopleCache;
import entity.People;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author zsy
 * @Description:
 * @create 2018-01-04 11:32
 **/
public class Main {

    public static void main(String[]
            args) throws Exception {
        String fileName = "./excel/表格.xlsx";
        String sheetName = "Sheet1";

        ObjectFactory factory = new ObjectFactory();
        Map<Object, People> peopleMap = factory.load(People.class);

        Map<Class,Map> map = new HashMap<>();
        map.put(People.class,peopleMap);

        InjectionFactory injectionFactory = new InjectionFactory();
        injectionFactory.injection(map);

        System.out.println(PeopleCache.peopleMap.toString());

    }
}
